/* 
 *  Copyright (c) 2011—2013 Panguso.com. All rights reserved. 
 *  File Name:  DbProcessModel.java                                      
 *  File Contents Outline : 过程模型数据对象
 *  File  Create Date:   2012年7月30日
 *  File Version#: Revision#: #1                  
 *  File  Latest Modify Date : 2013年1月16日
 *  File Author :  bachuan@panguso.com
 */
package storage.dbobject;

import java.util.UUID;

public class DbProcessModel {
    public static final String cl_key = "KEY";
    private String rowKey;
    public static final String cl_name = "name";
    private String name;
    public static final String cl_model = "model";
    private String model;
    public static final String cl_xesKey = "xesKey";
    private String xesKey;
    public static final String cl_createTime = "createTime";
    private String createTime;

    public DbProcessModel(String rowKey, String name, String model, String xesKey, String createTime) {
        this.rowKey = rowKey;
        this.name = name;
        this.model = model;
        this.xesKey = xesKey;
        this.createTime = createTime;
    }

    public DbProcessModel(String name, String model, String xesKey, String createTime) {
        this.rowKey = UUID.randomUUID().toString();
        this.name = name;
        this.model = model;
        this.xesKey = xesKey;
        this.createTime = createTime;
    }


    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRowKey() {
        return rowKey;
    }

    public void setRowKey(String rowKey) {
        this.rowKey = rowKey;
    }

    public String getXesKey() {
        return xesKey;
    }

    public void setXesKey(String xesKey) {
        this.xesKey = xesKey;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    
}
